package com.ibeetl.admin.aod.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import lombok.Data;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

/* 
* 
* gen by Spring Boot2 Admin 2018-04-03
*/
@Data
public class AodIndustryData extends BaseEntity{

    //主键
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	
    private Long id ;
	
    //行业ID
    private Long industryId ;
	
    //账号
    private String account ;
	
    //手机号码
    private String phoneNumber ;
	
    //发送时间
    private Date sendTime ;
	
    //发送内容
    private String sendContent ;
	
    //状态
    private String status ;
	
    //回复内容
    private String replyContent ;
	
    //回复时间
    private Date replyTime ;
	
    //运营商ID
    private Long numberAttribution ;
	
    //标签
    private String label ;
	
    //等级
    private Integer level ;

    public enum Level {
        ONE(1),
        TWO(2),
        THREE(3),
        FOUR(4);

        private int value;

        Level(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }

    // 入库时间
    private Date addTime ;

    public AodIndustryData() {

    }

    public static Long NON_INDUSTRY_ID = 1L;


}
